package com.onlinemarket.thrid.dao;

import org.springframework.stereotype.Repository;

import com.onlinemarket.thrid.domain.User;

/**
 * 登录时对数据库的操作接口
 * 
 * @author 2015soft
 *
 */
@Repository
public interface registerDao {
	/**
	 * 注册时插入用户信息
	 * 
	 * @param user
	 * @return
	 */
	public void insertUser(User user);

	/**
	 * 注册时判断用户名是否存在
	 * 
	 * @param user
	 * @return
	 */
	public boolean checkUser(String user_name);
}
